package com.myy.common.base;

import lombok.Getter;

@Getter
public enum CodeEnum {
    SUCCESS(200,"请求成功"),
    FAIL(500,"请求失败");
    private int code;
    private String msg;

    CodeEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

}
